<template>
    <div class="page401">
        <div class="pagebg">
            <div class="pagebox">
                <div class="pageimg"> </div>
                <h1>{{ msg }}</h1>
                <p>Don't worry, you just lost :)</p>
                <p style="font-size:14px;">管理后台</p>
                <div class="pageBtns">
                    <el-button type="danger" @click="goHome">系统首页</el-button>
                    <el-button type="success" @click="goLogin">登录后台管理</el-button>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        data () {
            return {
                msg: '没有权限'
            }
        },methods:{
            goHome() {
                this.$router.replace({path:"/"});
            },
            goLogin() {
                this.$router.replace({path:"/login"});
            }
        }
    }
</script>
